<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ActiveUsers.ascx.cs" Inherits="forums_controls_usercp_ActiveUsers" %>
<div class="active_users">
<asp:Repeater runat="server" ID="gridUsers">
    <HeaderTemplate>
        Currently Active Users:
    </HeaderTemplate>
    <ItemTemplate>
        <asp:HyperLink runat="server" ID="lnkUser"
            Font-Bold='<%# IsAdmin(Container.DataItem as DAL.User) %>'
            Font-Italic='<%# IsMod(Container.DataItem as DAL.User) %>'
            Text='<%# Helpers.StringHelper.SafeFormat(Eval("Username")) %>'
            NavigateUrl='<%# Helpers.StringHelper.SafeFormat("~/forums/profile.aspx?u={0}", Eval("ID")) %>' />
    </ItemTemplate>
</asp:Repeater>
</div>